---@meta _

---Returns an itemLink for an inventory (equipped) item.
---@param unit UnitToken
---@param invSlotId number
---@return string? itemLink
function GetInventoryItemLink(unit, invSlotId) end

---Get the info for a named inventory slot (slot ID and texture)
---@param invSlotName string
---@return number slotId
---@return string textureName
function GetInventorySlotInfo(invSlotName) end

---Return the texture for an inventory item.
---@param unit UnitToken
---@param invSlotId number
---@return string texture
function GetInventoryItemTexture(unit, invSlotId) end

--[[

AutoEquipCursorItem()   - Causes the equipment on the cursor to be equipped.
BankButtonIDToInvSlotID(buttonID)   - Returns the ID number of a bank button in terms of inventory slot ID.
CancelPendingEquip(index)   - This function is used to cancel a pending equip.
ConfirmBindOnUse()
ContainerIDToInventoryID(bagID)
CursorCanGoInSlot(invSlot)   - Return true if the item currently held by the cursor can go into the given inventory (equipment) slot
EquipCursorItem(invSlot)
EquipPendingItem(invSlot)   - Equips the currently pending Bind-on-Equip or Bind-on-Pickup item from the specified inventory slot. (Internal - do not use)
GetInventoryAlertStatus(index)   - Returns one of several codes describing the "status" of an equipped item.
GetInventoryItemBroken("unit",invSlot)   - Determine if an inventory item is broken (no durability).
GetInventoryItemCooldown("unit",invSlot)   - Get cooldown information for an inventory item.
GetInventoryItemCount("unit",invSlot)   - Determine the quantity of an item in an inventory slot.
GetInventoryItemLink("unit",invSlot)   - Returns an itemLink for an inventory (equipped) item.
GetInventoryItemQuality("unit",invSlot)   - Return the quality of an inventory item.
GetInventoryItemTexture("unit",invSlot)   - Return the texture for an inventory item.
GetInventorySlotInfo(invSlotName)   - Get the info for a named inventory slot (slot ID and texture)
GetWeaponEnchantInfo()   - Return information about main and offhand weapon enchantments.
HasWandEquipped()   - Returns 1 if a wand is equipped, false otherwise.
IsInventoryItemLocked(id)   - Returns whether an inventory item is locked, usually as it awaits pending action.
KeyRingButtonIDToInvSlotID(buttonID)   - Map a keyring button to an inventory slot button for use in inventory functions.
PickupBagFromSlot(slot)   - Picks up the bag from the specified slot, placing it in the cursor. If an item is already picked up, this places the item into the specified slot, swapping the items if needed.
PickupInventoryItem(invSlot)   - "Picks up" an item from the player's worn inventory.
SetInventoryPortaitTexture - ?.
UpdateInventoryAlertStatus()
UseInventoryItem(invSlot)   - Use an item in a specific inventory slot.
]]